package com.jzb.binmvvmsdk.ui;


import android.util.Log;

import com.jzb.binmvvmlib.base.BaseActivity;
import com.jzb.binmvvmlib.handlecallback.OnCallBack;
import com.jzb.binmvvmlib.model.Resource;
import com.jzb.binmvvmlib.util.LogUtils;
import com.jzb.binmvvmsdk.R;
import com.jzb.binmvvmsdk.databinding.ActivityMainBinding;

import java.util.List;


public class MainActivity extends BaseActivity<MainAVM, ActivityMainBinding> {

    @Override
    protected int getContentViewId() {
        return R.layout.activity_main;
    }

    @Override
    protected void initView() {

        mViewModel.doCs().observe(this,resource->resource.handler(new OnCallBack<List<String>>() {
            @Override
            public void onSuccess(List<String> data) {

            }
        }));
    }

    @Override
    protected void initData() {

    }
}
